Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kernel): Set this in static contexts #460

Merged
merged 2 commits into from
Apr 16, 2019
Merged

Conversation

RomainMuller
Copy link
Contributor

Javascript allows static members to refer to other static members
through this, but the jsii-kernel passed null for the this
context in sinvoke, making it impossible to invoke static methods that
made use of this feature through the jsii runtimes.

Fixes aws/aws-cdk#2304


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Javascript allows static members to refer to other static members
through `this`, but the `jsii-kernel` passed `null` for the `this`
context in `sinvoke`, making it impossible to invoke static methods that
made use of this feature through the `jsii` runtimes.

Fixes aws/aws-cdk#2304
@RomainMuller RomainMuller requested a review from a team as a code owner April 16, 2019 08:43
@RomainMuller RomainMuller merged commit c81b4c1 into master Apr 16, 2019
@RomainMuller RomainMuller deleted the rmuller/fix-sinvoke branch April 16, 2019 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java/.NET/Python: Unable to use SecretValue
2 participants